#include <QtGui>

int main(int argc, char** argv)
{
    QApplication app(argc, argv);
    QFrame frame;
    frame.setWindowTitle("Simple hand cursor");
    frame.resize(300, 300);

    QPalette pl;

    pl.setColor(frame.backgroundRole(), Qt::black );
    frame.setPalette(pl);

    frame.setCursor(Qt::PointingHandCursor);

    frame.setFrameStyle(QFrame::StyledPanel | QFrame::Raised);
    frame.setAutoFillBackground(true);

    frame.show();

    return app.exec();
}
